package Events
{
	import flash.events.Event;
	import flash.events.EventDispatcher;

	public class XMLEvent extends Event
	{
		public static const XMLLOADED:String = "XML Loaded";
		
		private var data:XML;
		
		public function get Data():XML
		{
			return data;
		}
		
		public function XMLEvent($type:String, $data:XML)
		{
			this.data = $data;
			super($type, false, false);
		}
	}
}